package com.atmilan.quartz.model.entity.leam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Leam商品sku映射
 * @Description: 
 * @author daigb
 * @date 2021-06-02
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class LeamProductSku extends Model<LeamProductSku> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * stock_id
     */
    private String stockId;

    /**
     * size
     */
    private String size;

    /**
     * qty
     */
    private Integer qty;



}
